// 滚动条整体宽度
::-webkit-scrollbar {
  width: 6px;
  height: 8px;
}

// 滚动条滑槽样式
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
}

// 滚动条样式
::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.1);
}

.anticon {
  vertical-align: 0.125em !important;
}

.ant-btn {
  border-radius: var(--ant-radius);
}

//table
.ant-table-cell {
  text-align: center !important;
}

.table-striped td {
  background-color: rgba(250, 250, 250, 1);
}

.table-striped-null td {
  text-align: center;
}

.ant-table-thead>tr>th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
  width: 0;
}

.ant-table-tbody>tr.ant-table-row-selected>td {
  background: #ffff;
}

.ant-table-tbody>tr.ant-table-row-selected:hover>td {
  background: #fafafa;
}

//ant-spin-nested-loading
.ant-spin-nested-loading {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;

  .ant-spin-text {
    text-shadow: none !important;
  }

  .ant-spin-container {
    width: 100%;
    height: inherit;

    &::after {
      background: transparent;
    }
  }
}

//
.ant-btn-primary {
  background-color: @primary-color  !important;
}